package com.itmeima.bean;

public class Subway {
    private String subID;
    private String subName;
    private String route;

    public Subway() {
    }

    public Subway(String subID, String subName, String route) {
        this.subID = subID;
        this.subName = subName;
        this.route = route;
    }

    @Override
    public String toString() {
        return "地铁站编号：'" + subID + '\'' +
                ", 地铁站名称：'" + subName + '\'' +
                ", 所属路线：'" + route + '\'';
    }

    public String getSubID() {
        return subID;
    }

    public void setSubID(String subID) {
        this.subID = subID;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }
}
